﻿using System;

namespace Onetube.Providers.EventArgsClasses
{
    public class DownloadFailed : DownloadBase
    {
        public DownloadFailed(string id, Exception ex)
        {
            videoId = id;
            error = ex;
        }

        private readonly Exception error;

        public Exception Error
        {
            get
            {
                return error;
            }
        }
    }
}